import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'

// 引入自定义主题
import './assets/styles/element-variables.scss'
// 引入全局样式
import './assets/styles/global.css'

import locale from 'element-ui/lib/locale/lang/zh-CN'

// 使用Element UI，并设置为中文
Vue.use(ElementUI, { locale })

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app') 